<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>系统登录 - 724便利店管理系统</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/style.css" />
</head>
<body class="login_bg">
<section class="loginBox">
    <header class="loginHeader">
        <h1>724便利店管理系统</h1>
    </header>
    <section class="loginCont">
        <fm:form class="loginForm"
          action="${pageContext.request.contextPath }/system/doLogin"
          name="actionForm" id="actionForm"  method="post"
          modelAttribute="loginUser">
            <div class="info">
                <s:errors  path="account"/>
                <s:errors  path="password"/>
                ${msg}
            </div>
            <div class="inputbox">
                <label for="account">账号：</label>
                <fm:input  path="account"   id="account" />
            </div>

            <div class="inputbox">
                <label for="password">密码：</label>
               <fm:password path="password" id="password"/>
            </div>
            <div class="subBtn">
                <input type="submit" value="登录"/>
                <input type="reset" value="重置"/>
            </div>
        </fm:form>
    </section>
</section>
</body>
</html>